/**
 * Created by zhoulin on 2019/3/29.
 */

//dev :开发环境，prod:生产环境，test:测试环境
//var _ENV = "dev";

//权限编码herader名称
var _PERM_CODING_HEADER_VALUE = "permCoding";
var _TOKEN_HEADER_VALUE = "Authorization";
var _LOGIN_TIMEOUT_CODE = 5000; //系统登录超时code值

var _LOGIN_PAGE = "";
var _DEV_LOGIN_PAGE = "http://localhost:63342/html-root/education-root/business/login.html";
var _PROD_LOGIN_PAGE = "http://manage.wanxuehui.com/html-root/education-root/business/login.html";
var _TEST_LOGIN_PAGE = "http://test.wanxuehui.com/html-root/education-root/business/login.html";

//请求主机配置
var _HOST = ""; //服务请求
var _DEV_HOST = "http://127.0.0.1";
// var _DEV_HOST = "https://www.boxuejia.com";
var _PROD_HOST = "https://www.boxuejia.com";
var _TEST_HOST = "http://test.boxuejia.com";

// 代理配置
var _PROXY = {}
var _DEV_PROXY = {
    activity_articles_service:":8084/activeArticlesService",
    admin_service:":8081/adminService",
    business_manage_service:":8082/businessManageService",
    common_service:":8083/commonService",
    organization_service:":8088/organizationService",
    marketing_service:":8090/marketingService",
    wechat_service:":8087/wechatService",
    learning_service:":8089/learningService",
    user_center_service:":8086/userCenterService",
}
/*var _DEV_PROXY = {
    activity_articles_service:"/activeArticlesService",
    admin_service:"/adminService",
    business_manage_service:"/businessManageService",
    common_service:"/commonService",
    organization_service:"/organizationService",
    marketing_service:"/marketingService",
    wechat_service:":/wechatService",
    learning_service:":/learningService",
}*/
var _PROD_PROXY = {
    activity_articles_service:"/activeArticlesService",
    admin_service:"/adminService",
    business_manage_service:"/businessManageService",
    common_service:"/commonService",
    organization_service:"/organizationService",
    marketing_service:"/marketingService",
    wechat_service:"/wechatService",
    learning_service:":/learningService",
    user_center_service:":/userCenterService",
}
var _TEST_PROXY = {
    activity_articles_service:"/activeArticlesService",
    admin_service:"/adminService",
    business_manage_service:"/businessManageService",
    common_service:"/commonService",
    organization_service:"/organizationService",
    marketing_service:"/marketingService",
    wechat_service:"/wechatService",
    learning_service:":/learningService",
    user_center_service:":/userCenterService",
}

if("dev" == _ENV){
    _HOST = _DEV_HOST;
    _PROXY = _DEV_PROXY;
    _LOGIN_PAGE = _DEV_LOGIN_PAGE;
}else if("prod" == _ENV){
    _HOST = _PROD_HOST;
    _PROXY = _PROD_PROXY;
    _LOGIN_PAGE = _PROD_LOGIN_PAGE;
}else {
    _HOST = _TEST_HOST;
    _PROXY = _TEST_PROXY;
    _LOGIN_PAGE = _TEST_LOGIN_PAGE;
}

//接口配置
var _API = {
    business_manage_index_doLogin:_PROXY.business_manage_service+"/api/index/doLogin",
    business_manage_index_loginOut:_PROXY.business_manage_service+"/api/index/loginOut",//GET /businessManageService/api/index/loginOut 退出登录
    business_manage_index_getInfoById:_PROXY.business_manage_service+"/api/index/getInfoById/",//GET /businessManageService/api/index/getInfoById/{id} 根据主键id查询
    business_manage_index_getCompanyInfo:_PROXY.business_manage_service+"/api/index/getCompanyInfo/",//GET /businessManageService/api/index/getCompanyInfo/{companyId} 根据登录人统一登录id(loginId 后台自动获取)和机构id，查询当前人所在的机构，以及授权的单位信息
    business_manage_index_authorizedLogin:_PROXY.business_manage_service+"/api/index/authorizedLogin/",//GET /businessManageService/api/index/authorizedLogin/{companyId}/{deptId} 点击部门（校区）传入机构id、部门id重新实现后台登录更新token，获取权限等等
    business_manage_index_getMenu:_PROXY.business_manage_service+"/api/index/getMenu/",//GET /businessManageService/api/index/getMenu/{pid}/{companyId}/{deptId} 根据权限父级id查询权限目录
    business_manage_index_isOldPassword:_PROXY.business_manage_service+"/api/index/isOldPassword",//GET /businessManageService/api/index/isOldPassword 修改密码时候判断原始密码是否正确
    business_manage_index_updatePs:_PROXY.business_manage_service+"/api/index/updatePs",//POST /businessManageService/api/index/updatePs 修改密码
    business_manage_index_isUsername:_PROXY.business_manage_service+"/api/index/isUsername",//GET /businessManageService/api/index/isUsername 判断账号情况（是否禁用等等）

    business_manage_sysBusiness_list:_PROXY.business_manage_service+"/api/sysBusiness/list",//GET /businessManageService/api/sysAdmin/list 获取用户列表
    business_manage_sysBusiness_getUserInfo:_PROXY.business_manage_service+"/api/sysBusiness/getUserInfo",//GET /businessManageService/api/sysAdmin/getUserInfo 根据token查询一条账户基本数据
    business_manage_sysBusiness_add:_PROXY.business_manage_service+"/api/sysBusiness/add",//POST /businessManageService/api/sysAdmin/add 添加平台管理账号
    business_manage_sysBusiness_update:_PROXY.business_manage_service+"/api/sysBusiness/update",//PUT /businessManageService/api/sysAdmin/update 修改添加平台管理账号
    business_manage_sysBusiness_batchStatus:_PROXY.business_manage_service+"/api/sysBusiness/batchStatus",//PUT /businessManageService/api/sysAdmin/batchStatus 处理平台管理员账号状态，可批量（List）
    business_manage_sysBusiness_delete:_PROXY.business_manage_service+"/api/sysBusiness/delete/",//PUT /businessManageService/api/sysAdmin/delete/{ids} 根据角色ids删除角色 和 权限角色表数据
    business_manage_sysBusiness_getInfoById:_PROXY.business_manage_service+"/api/sysBusiness/getInfoById/",//GET /businessManageService/api/sysAdmin/getInfoById/{id} 根据主键id查询
    business_manage_sysBusiness_resetPS:_PROXY.business_manage_service+"/api/sysBusiness/resetPS",//PUT /businessManageService/api/sysAdmin/resetPS 重置平台管理员密码

    business_manage_sysRole_list:_PROXY.business_manage_service+"/api/sysRole/list",//GET /businessManageService/api/sysRole/list 获取角色列表
    business_manage_sysRole_add:_PROXY.business_manage_service+"/api/sysRole/add",//POST /businessManageService/api/sysRole/add 添加角色
    business_manage_sysRole_update:_PROXY.business_manage_service+"/api/sysRole/update",//PUT /businessManageService/api/sysRole/update 修改角色
    business_manage_sysRole_delete:_PROXY.business_manage_service+"/api/sysRole/delete/",//PUT /businessManageService/api/sysRole/delete/{ids} 根据角色ids删除角色 和 权限角色表数据
    business_manage_sysRole_getInfoById:_PROXY.business_manage_service+"/api/sysRole/getInfoById/",//GET /businessManageService/api/sysRole/getInfoById/{id} 根据主键id查询
    business_manage_sysRole_getAllRole:_PROXY.business_manage_service+"/api/sysRole/getAllRole/",//GET /businessManageService/api/sysRole/getAllRole 查询平台管理员的角色
    business_manage_sysRole_getUserRole:_PROXY.business_manage_service+"/api/sysRole/getUserRole/",//GET /businessManageService/api/sysRole/getUserRole/{id} 查询平台管理员拥有的角色
    business_manage_sysRole_modifyUserRole:_PROXY.business_manage_service+"/api/sysRole/modifyUserRole",//PUT /businessManageService/api/sysRole/modifyUserRole 分配平台管理员角色
    business_manage_sysRole_modifyUserRoles:_PROXY.business_manage_service+"/api/sysRole/modifyUserRoles",//PUT /businessManageService/api/sysRole/modifyUserRole 分配平台管理员角色

    business_manage_sysPermission_getPermissionZTreeNodes:_PROXY.business_manage_service+"/api/sysPermission/getPermissionZTreeNodes/",//GET /businessManageService/api/sysPermission/getPermissionZTreeNodes/{roleId}/{isOperator} 查询权限树形展示（roleId不传表示查全部） 并且选中角色拥有的树节点
    business_manage_sysPermission_modifyRolePermission:_PROXY.business_manage_service+"/api/sysPermission/modifyRolePermission",//PUT /businessManageService/api/sysPermission/modifyRolePermission 分配角色权限

    business_manage_school_getInfoById:_PROXY.business_manage_service+"/api/school/getInfoById/",//GET /businessManageService/api/school/getInfoById/{id} 根据主键id查询一条数据

    business_manage_sysDepartment_add:_PROXY.business_manage_service+"/api/sysDepartment/add",//POST /businessManageService/api/sysDepartment/add 添加类型非学校的组织结构
    business_manage_sysDepartment_addSchool:_PROXY.business_manage_service+"/api/sysDepartment/addSchool/",//POST /businessManageService/api/sysDepartment/addSchool/{parentId}/{sort} 添加类型为校区的组织结构
    business_manage_sysDepartment_delete:_PROXY.business_manage_service+"/api/sysDepartment/delete/",//PUT /businessManageService/api/sysDepartment/delete/{id} 根据组织结构id删除组织结构和school表数据
    business_manage_sysDepartment_getInfoById:_PROXY.business_manage_service+"/api/sysDepartment/getInfoById/",//GET /businessManageService/api/sysDepartment/getInfoById/{id} 根据主键id查询一条数据
    business_manage_sysDepartment_getUserSecondList:_PROXY.business_manage_service+"/api/sysDepartment/getUserSecondList/",//GET /businessManageService/api/sysDepartment/getUserSecondList/{bid} 查询用户拥有机构的二级组织
    business_manage_sysDepartment_list:_PROXY.business_manage_service+"/api/sysDepartment/list",//GET /businessManageService/api/sysDepartment/list 查询组织结构列表
    business_manage_sysDepartment_secondList:_PROXY.business_manage_service+"/api/sysDepartment/secondList",//GET /businessManageService/api/sysDepartment/secondList 查询机构二级组织
    business_manage_sysDepartment_update:_PROXY.business_manage_service+"/api/sysDepartment/update",//PUT /businessManageService/api/sysDepartment/update 修改类型非校区的组织结构
    business_manage_sysDepartment_updateSchool:_PROXY.business_manage_service+"/api/sysDepartment/updateSchool/",//PUT /businessManageService/api/sysDepartment/updateSchool/{id}/{sort} 修改类型为校区的组织结构

    business_manage_station_add:_PROXY.business_manage_service+"/api/station/add",//POST /businessManageService/api/station/add 添加职位
    business_manage_station_delete:_PROXY.business_manage_service+"/api/station/delete/",//PUT /businessManageService/api/station/delete/{ids} 根据职位ids删除职位 和 员工-部门-职位关联表数据
    business_manage_station_getInfoById:_PROXY.business_manage_service+"/api/station/getInfoById/",//GET /businessManageService/api/station/getInfoById/{id} 根据主键id查询一条数据
    business_manage_station_list:_PROXY.business_manage_service+"/api/station/list",//GET /businessManageService/api/station/list 获取职位列表
    business_manage_station_listAll:_PROXY.business_manage_service+"/api/station/listAll",//GET /businessManageService/api/station/listAll 获取所有职位列表
    business_manage_station_update:_PROXY.business_manage_service+"/api/station/update",//PUT /businessManageService/api/station/update 修改职位

    business_manage_staff_add:_PROXY.business_manage_service+"/api/staff/add",//POST /businessManageService/api/staff/add 添加员工
    business_manage_staff_getInfoById:_PROXY.business_manage_service+"/api/staff/getInfoById/",//GET /businessManageService/api/staff/getInfoById/{id} 根据主键id查询一条数据
    business_manage_staff_list:_PROXY.business_manage_service+"/api/staff/list",//GET /businessManageService/api/staff/list 获取员工列表
    business_manage_staff_update:_PROXY.business_manage_service+"/api/staff/update",//GET /businessManageService/api/staff/update 修改
    business_manage_staff_delete:_PROXY.business_manage_service+"/api/staff/delete/",//GET /businessManageService/api/staff/delete/{ids} 删除

    business_company_list:_PROXY.business_manage_service+"/api/company/list",
    business_company_update:_PROXY.business_manage_service+"/api/company/update",
    business_company_getById:_PROXY.business_manage_service+"/api/company/getById",

    business_app_listAll:_PROXY.business_manage_service+"/api/app/listAll",
    business_app_listAllByCompanyId:_PROXY.business_manage_service+"/api/app/listAllByCompanyId/",

    business_appRole_list:_PROXY.business_manage_service+"/api/appRole/list",//GET /businessManageService/api/appRole/list 获取角色列表
    business_appRole_add:_PROXY.business_manage_service+"/api/appRole/add",//POST /businessManageService/api/appRole/add 添加角色
    business_appRole_update:_PROXY.business_manage_service+"/api/appRole/update",//PUT /businessManageService/api/appRole/update 修改角色
    business_appRole_delete:_PROXY.business_manage_service+"/api/appRole/delete/",//PUT /businessManageService/api/appRole/delete/{ids} 根据角色ids删除角色 和 权限角色表数据
    business_appRole_getInfoById:_PROXY.business_manage_service+"/api/appRole/getInfoById/",//GET /businessManageService/api/appRole/getInfoById/{id} 根据主键id查询
    business_appRole_getPermissionZTreeNodes:_PROXY.business_manage_service+"/api/appRole/getPermissionZTreeNodes",
    business_appRole_assignPermission:_PROXY.business_manage_service+"/api/appRole/assignPermission",
    business_appRole_getAllRole:_PROXY.business_manage_service+"/api/appRole/getAllRole",
    business_appRole_getUserRole:_PROXY.business_manage_service+"/api/appRole/getUserRole",
    business_appRole_modifyUserRole:_PROXY.business_manage_service+"/api/appRole/modifyUserRole",

    business_cardPosterModel_list:_PROXY.business_manage_service+"/api/cardPosterModel/list",
    business_cardPosterModel_add:_PROXY.business_manage_service+"/api/cardPosterModel/add",
    business_cardPosterModel_update:_PROXY.business_manage_service+"/api/cardPosterModel/update",
    business_cardPosterModel_delete:_PROXY.business_manage_service+"/api/cardPosterModel/delete",
    business_cardPosterModel_getById:_PROXY.business_manage_service+"/api/cardPosterModel/getById",
    business_cardPosterModel_personList:_PROXY.business_manage_service+"/api/cardPosterModel/personList",
    business_cardPosterModel_personAdd:_PROXY.business_manage_service+"/api/cardPosterModel/personAdd",
    business_cardPosterModel_personDelete:_PROXY.business_manage_service+"/api/cardPosterModel/personDelete",
    business_cardPosterModel_deptList:_PROXY.business_manage_service+"/api/cardPosterModel/deptList",
    business_cardPosterModel_deptAdd:_PROXY.business_manage_service+"/api/cardPosterModel/deptAdd",

    /**
     * 公共服务
     */
    common_loginlog_list:_PROXY.common_service+"/api/loginLog/list",
    common_modellog_list:_PROXY.common_service+"/api/modalLog/list",

    common_file_ossUpload:_PROXY.common_service+"/api/file/ossUpload",
    common_file_ossUploadBase64FileStr:_PROXY.common_service+"/api/file/ossUploadBase64FileStr",
    common_file_ossWe:_PROXY.common_service+"/api/file/uploadwe",

    common_dic_list:_PROXY.common_service+"/api/sysDictionary/list",
    common_dic_add:_PROXY.common_service+"/api/sysDictionary/add",
    common_dic_update:_PROXY.common_service+"/api/sysDictionary/update",
    common_dic_delete:_PROXY.common_service+"/api/sysDictionary/delete",
    common_dic_getById:_PROXY.common_service+"/api/sysDictionary/getById",
    common_dic_dicList:_PROXY.common_service+"/api/sysDictionary/dicList",

    common_banner_list:_PROXY.common_service+"/api/banner/list",
    common_banner_add:_PROXY.common_service+"/api/banner/add",
    common_banner_update:_PROXY.common_service+"/api/banner/update",
    common_banner_delete:_PROXY.common_service+"/api/banner/delete",
    common_banner_getById:_PROXY.common_service+"/api/banner/getById",

    common_class_list:_PROXY.common_service+"/api/commonClass/list",
    common_class_add:_PROXY.common_service+"/api/commonClass/add",
    common_class_update:_PROXY.common_service+"/api/commonClass/update",
    common_class_delete:_PROXY.common_service+"/api/commonClass/delete",
    common_class_getById:_PROXY.common_service+"/api/commonClass/getById",

    common_message_list:_PROXY.common_service+"/api/message/list",
    common_message_add:_PROXY.common_service+"/api/message/add",
    common_message_update:_PROXY.common_service+"/api/message/update",
    common_message_delete:_PROXY.common_service+"/api/message/delete",
    common_message_getById:_PROXY.common_service+"/api/message/getById",

    common_siteInfo_getDetail:_PROXY.common_service+"/api/siteInfo/getDetail",
    common_siteInfo_update:_PROXY.common_service+"/api/siteInfo/update",
    common_siteInfo_add:_PROXY.common_service+"/api/siteInfo/add",

    common_reportFeedback_list:_PROXY.common_service+"/api/reportFeedback/list",
    common_reportFeedback_update:_PROXY.common_service+"/api/reportFeedback/update",
    common_reportFeedback_delete:_PROXY.common_service+"/api/reportFeedback/delete",

    common_tag_list:_PROXY.common_service+"/api/tag/list",
    common_tag_add:_PROXY.common_service+"/api/tag/add",
    common_tag_update:_PROXY.common_service+"/api/tag/update",
    common_tag_delete:_PROXY.common_service+"/api/tag/delete",
    common_tag_getById:_PROXY.common_service+"/api/tag/getById",
    common_tag_getTagsByType:_PROXY.common_service+"/api/tag/getTagsByType",

    common_companyDataPerim_list:_PROXY.common_service+"/api/companyDataPerim/list",
    common_companyDataPerim_add:_PROXY.common_service+"/api/companyDataPerim/add",
    common_companyDataPerim_delete:_PROXY.common_service+"/api/companyDataPerim/delete",
    common_companyDataPerim_addPerim:_PROXY.common_service+"/api/companyDataPerim/addPerim",

    actArt_articleType_list:_PROXY.activity_articles_service+"/api/articleType/list",
    actArt_articleType_add:_PROXY.activity_articles_service+"/api/articleType/add",
    actArt_articleType_update:_PROXY.activity_articles_service+"/api/articleType/update",
    actArt_articleType_delete:_PROXY.activity_articles_service+"/api/articleType/delete",
    actArt_articleType_getById:_PROXY.activity_articles_service+"/api/articleType/getById",
    actArt_articleType_getArticleType:_PROXY.activity_articles_service+"/api/articleType/getArticleType",

    actArt_article_checkPushArticle:_PROXY.activity_articles_service+"/api/article/checkPushArticle",
    actArt_article_list:_PROXY.activity_articles_service+"/api/article/list",
    actArt_article_add:_PROXY.activity_articles_service+"/api/article/add",
    actArt_article_update:_PROXY.activity_articles_service+"/api/article/update",
    actArt_article_delete:_PROXY.activity_articles_service+"/api/article/delete",
    actArt_article_getById:_PROXY.activity_articles_service+"/api/article/getById",
    actArt_article_push:_PROXY.activity_articles_service+"/api/article/batchPush",
    actArt_article_getWxArticle:_PROXY.activity_articles_service+"/api/article/getWxArticle",

    actArt_articlePush_list:_PROXY.activity_articles_service+"/api/articlePush/list",
    actArt_articlePush_add:_PROXY.activity_articles_service+"/api/articlePush/add",
    actArt_articlePush_update:_PROXY.activity_articles_service+"/api/articlePush/update",
    actArt_articlePush_delete:_PROXY.activity_articles_service+"/api/articlePush/delete",
    actArt_articlePush_getById:_PROXY.activity_articles_service+"/api/articlePush/getById",
    actArt_articlePush_cancelPush:_PROXY.activity_articles_service+"/api/articlePush/cancelPush",
    actArt_articlePush_recoveryPush:_PROXY.activity_articles_service+"/api/articlePush/recoveryPush",

    actArt_activityClass_list:_PROXY.activity_articles_service+"/api/activityClass/list",
    actArt_activityClass_add:_PROXY.activity_articles_service+"/api/activityClass/add",
    actArt_activityClass_update:_PROXY.activity_articles_service+"/api/activityClass/update",
    actArt_activityClass_delete:_PROXY.activity_articles_service+"/api/activityClass/delete",
    actArt_activityClass_getById:_PROXY.activity_articles_service+"/api/activityClass/getById",
    actArt_activityType_getActivityClass:_PROXY.activity_articles_service+"/api/activityClass/getActivityClass",

    actArt_activity_checkPushActivity:_PROXY.activity_articles_service+"/api/activity/checkPushActivity",
    actArt_activity_list:_PROXY.activity_articles_service+"/api/activity/list",
    actArt_activity_simpleList:_PROXY.activity_articles_service+"/api/activity/simpleList",
    actArt_activity_add:_PROXY.activity_articles_service+"/api/activity/add",
    actArt_activity_update:_PROXY.activity_articles_service+"/api/activity/update",
    actArt_activity_delete:_PROXY.activity_articles_service+"/api/activity/delete",
    actArt_activity_getById:_PROXY.activity_articles_service+"/api/activity/getById",
    actArt_activity_selectSignUpList:_PROXY.activity_articles_service+"/api/activity/selectSignUpList",
    actArt_activity_push:_PROXY.activity_articles_service+"/api/activity/push",
    actArt_activity_batchSign:_PROXY.activity_articles_service+"/api/activity/batchSign",
    actArt_activity_remindSign:_PROXY.activity_articles_service+"/api/activity/remindSign",
    actArt_activity_remindPay:_PROXY.activity_articles_service+"/api/activity/remindPay",
    actArt_activity_remindSelf:_PROXY.activity_articles_service+"/api/activity/remindSelf",
    actArt_activity_cancelPush:_PROXY.activity_articles_service+"/api/activity/cancelPush",
    actArt_activity_top:_PROXY.activity_articles_service+"/api/activity/top",
    actArt_activity_cancelTop:_PROXY.activity_articles_service+"/api/activity/cancelTop",
    actArt_activity_getUrl:_PROXY.activity_articles_service+"/api/activity/getUrl",
    actArt_activity_getByAddress:_PROXY.activity_articles_service+"/api/activity/getByAddress",

    actArt_activityPlace_list:_PROXY.activity_articles_service+"/api/activityPlace/list",
    actArt_activityPlace_addPlace:_PROXY.activity_articles_service+"/api/activityPlace/addPlace",
    actArt_activityPlace_addColumn:_PROXY.activity_articles_service+"/api/activityPlace/addColumn",
    actArt_activityPlace_addRow:_PROXY.activity_articles_service+"/api/activityPlace/addRow",
    actArt_activityPlace_batchDisable:_PROXY.activity_articles_service+"/api/activityPlace/batchDisable",
    actArt_activityPlace_batchEnable:_PROXY.activity_articles_service+"/api/activityPlace/batchEnable",
    actArt_activityPlace_update:_PROXY.activity_articles_service+"/api/activityPlace/update",
    actArt_activityPlace_delete:_PROXY.activity_articles_service+"/api/activityPlace/delete",
    actArt_activityPlace_getById:_PROXY.activity_articles_service+"/api/activityPlace/getById",
    actArt_activityPlace_getPlaces:_PROXY.activity_articles_service+"/api/activityPlace/getPlaces",

    actArt_member_list:_PROXY.activity_articles_service+"/api/member/list",
    actArt_member_orderList:_PROXY.activity_articles_service+"/api/member/orderList",
    actArt_paper_list:_PROXY.activity_articles_service+"/api/paper/list",
    actArt_paper_infoList:_PROXY.activity_articles_service+"/api/paper/infoList",
    actArt_paper_refuseRefund:_PROXY.activity_articles_service+"/api/paper/refuseRefund",

    actArt_review_list:_PROXY.activity_articles_service+"/api/review/list",
    actArt_review_add:_PROXY.activity_articles_service+"/api/review/add",
    actArt_review_update:_PROXY.activity_articles_service+"/api/review/update",
    actArt_review_delete:_PROXY.activity_articles_service+"/api/review/delete",
    actArt_review_getById:_PROXY.activity_articles_service+"/api/review/getById",

    actArt_activitySales_list:_PROXY.activity_articles_service+"/api/activitySales/list",
    actArt_activitySales_add:_PROXY.activity_articles_service+"/api/activitySales/add",
    actArt_activitySales_update:_PROXY.activity_articles_service+"/api/activitySales/update",
    actArt_activitySales_delete:_PROXY.activity_articles_service+"/api/activitySales/delete",
    actArt_activitySales_getById:_PROXY.activity_articles_service+"/api/activitySales/getById",
    actArt_activitySales_getParents:_PROXY.activity_articles_service+"/api/activitySales/getParents",
    actArt_activitySales_getchildren:_PROXY.activity_articles_service+"/api/activitySales/getchildren",

    organization_course_list:_PROXY.organization_service+"/api/course/list",
    organization_course_add:_PROXY.organization_service+"/api/course/add",
    organization_course_update:_PROXY.organization_service+"/api/course/update",
    organization_course_delete:_PROXY.organization_service+"/api/course/delete",
    organization_course_getById:_PROXY.organization_service+"/api/course/getById",
    organization_course_authorize:_PROXY.organization_service+"/api/course/authorize",
    organization_course_getCourseBySchoolId:_PROXY.organization_service+"/api/course/getCourseBySchoolId",

    organization_classroom_list:_PROXY.organization_service+"/api/classroom/list",
    organization_classroom_add:_PROXY.organization_service+"/api/classroom/add",
    organization_classroom_update:_PROXY.organization_service+"/api/classroom/update",
    organization_classroom_delete:_PROXY.organization_service+"/api/classroom/delete",
    organization_classroom_getById:_PROXY.organization_service+"/api/classroom/getById",
    organization_classroom_getClassRoomBy:_PROXY.organization_service+"/api/classroom/getClassRoomBy",

    organization_courseModifyLog_list:_PROXY.organization_service+"/api/courseModifyLog/list",

    organization_courseClass_list:_PROXY.organization_service+"/api/courseClass/list",
    organization_courseClass_add:_PROXY.organization_service+"/api/courseClass/add",
    organization_courseClass_update:_PROXY.organization_service+"/api/courseClass/update",
    organization_courseClass_delete:_PROXY.organization_service+"/api/courseClass/delete",
    organization_courseClass_getById:_PROXY.organization_service+"/api/courseClass/getById",
    organization_courseClass_getClassBy:_PROXY.organization_service+"/api/courseClass/getClassBy",
    organization_courseClass_getSpecBy:_PROXY.organization_service+"/api/courseClass/getSpecBy",

    organization_teacher_list:_PROXY.organization_service+"/api/teacher/list",
    organization_teacher_add:_PROXY.organization_service+"/api/teacher/add",
    organization_teacher_update:_PROXY.organization_service+"/api/teacher/update",
    organization_teacher_delete:_PROXY.organization_service+"/api/teacher/delete",
    organization_teacher_getById:_PROXY.organization_service+"/api/teacher/getById",
    organization_teacher_getTeacherBy:_PROXY.organization_service+"/api/teacher/getTeacherBy",
    organization_teacher_getByStaff:_PROXY.organization_service+"/api/teacher/getByStaff",

    organization_courseClassTime_list:_PROXY.organization_service+"/api/courseClassTime/list",
    organization_courseClassTime_add:_PROXY.organization_service+"/api/courseClassTime/add",
    organization_courseClassTime_getById:_PROXY.organization_service+"/api/courseClassTime/getById",


    organization_rules_add:_PROXY.organization_service+"/api/rules/add",
    organization_rules_list:_PROXY.organization_service+"/api/rules/list",

    organization_score_list:_PROXY.organization_service+"/api/score/list",
    organization_score_detail:_PROXY.organization_service+"/api/courseScore/detail",
    organization_score_count:_PROXY.organization_service+"/api/courseScore/count",

    organization_holiday_list:_PROXY.organization_service+"/api/holiday/list",
    organization_holiday_add:_PROXY.organization_service+"/api/holiday/add",
    organization_holiday_update:_PROXY.organization_service+"/api/holiday/update",
    organization_holiday_delete:_PROXY.organization_service+"/api/holiday/delete",
    organization_holiday_getById:_PROXY.organization_service+"/api/holiday/getById",

    organization_audition_list:_PROXY.organization_service+"/api/audition/list",
    organization_audition_add:_PROXY.organization_service+"/api/audition/add",
    organization_audition_update:_PROXY.organization_service+"/api/audition/update",
    organization_audition_delete:_PROXY.organization_service+"/api/audition/delete",
    organization_audition_getById:_PROXY.organization_service+"/api/audition/getById",
    organization_audition_reserveList:_PROXY.organization_service+"/api/audition/reserveList",

    organization_studentAttendance_list:_PROXY.organization_service+"/api/studentAttendance/list",

    organization_vote_list:_PROXY.organization_service+"/api/vote/list",
    organization_vote_add:_PROXY.organization_service+"/api/vote/add",
    organization_vote_update:_PROXY.organization_service+"/api/vote/update",
    organization_vote_delete:_PROXY.organization_service+"/api/vote/delete",
    organization_vote_getById:_PROXY.organization_service+"/api/vote/getById",

    organization_voteBack_update:_PROXY.organization_service+"/api/voteBack/update",
    organization_voteBack_getByVoteId:_PROXY.organization_service+"/api/voteBack/getByVoteId",

    organization_voteRecords_list:_PROXY.organization_service+"/api/voteRecords/list",
    organization_voteRecords_add:_PROXY.organization_service+"/api/voteRecords/add",
    organization_voteRecords_update:_PROXY.organization_service+"/api/voteRecords/update",
    organization_voteRecords_delete:_PROXY.organization_service+"/api/voteRecords/delete",
    organization_voteRecords_getById:_PROXY.organization_service+"/api/voteRecords/getById",
    organization_voteRecords_status:_PROXY.organization_service+"/api/voteRecords/status",

    marketing_marketingSeting_getMarketingSetting:_PROXY.marketing_service+"/api/marketingSeting/getMarketingSetting",
    marketing_marketingSeting_save:_PROXY.marketing_service+"/api/marketingSeting/save",

    marketing_coupon_list:_PROXY.marketing_service+"/api/coupon/list",
    marketing_coupon_add:_PROXY.marketing_service+"/api/coupon/add",
    marketing_coupon_batchStatus:_PROXY.marketing_service+"/api/coupon/batchStatus",
    marketing_coupon_delete:_PROXY.marketing_service+"/api/coupon/delete",

    marketing_couponPush_list:_PROXY.marketing_service+"/api/couponPush/list",
    marketing_couponPush_batchPushCoupon:_PROXY.marketing_service+"/api/couponPush/batchPushCoupon",
    marketing_couponPush_batchStatus:_PROXY.marketing_service+"/api/couponPush/batchStatus",
    marketing_couponPush_delete:_PROXY.marketing_service+"/api/couponPush/delete",
    marketing_couponPush_getCouponPushUserLog:_PROXY.marketing_service+"/api/couponPush/getCouponPushUserLog",
    marketing_couponPush_getCouponPushUserUseLog:_PROXY.marketing_service+"/api/couponPush/getCouponPushUserUseLog",
    marketing_couponPush_getCouponPushList:_PROXY.marketing_service+"/api/couponPush/getCouponPushList",

    marketing_integralConfig_list:_PROXY.marketing_service+"/api/integralConfig/list",
    marketing_integralConfig_add:_PROXY.marketing_service+"/api/integralConfig/add",
    marketing_integralConfig_update:_PROXY.marketing_service+"/api/integralConfig/update",
    marketing_integralConfig_getInfoById:_PROXY.marketing_service+"/api/integralConfig/getInfoById",
    marketing_integralConfig_batchStatus:_PROXY.marketing_service+"/api/integralConfig/batchStatus",
    marketing_integralConfig_delete:_PROXY.marketing_service+"/api/integralConfig/delete",

    marketing_integralUserLog_list:_PROXY.marketing_service+"/api/integralUserLog/list",
    marketing_integralUserLog_add:_PROXY.marketing_service+"/api/integralUserLog/add",

    marketing_coupon_receive_list:_PROXY.marketing_service+"/api/couponUserReceive/list",
    marketing_coupon_receive_update:_PROXY.marketing_service+"/api/couponUserReceive/updateBatchById",

    wechat_pay_refund:_PROXY.wechat_service+"/api/pay/refund",
    wechat_order_findPayOrder:_PROXY.wechat_service+"/api/order/findPayOrder",
    wechat_order_findOrder:_PROXY.wechat_service+"/api/order/findOrder",

    learning_medalTemplate_list:_PROXY.learning_service+"/api/medalTemplate/list",
    learning_medalTemplate_add:_PROXY.learning_service+"/api/medalTemplate/add",
    learning_medalTemplate_update:_PROXY.learning_service+"/api/medalTemplate/update",
    learning_medalTemplate_delete:_PROXY.learning_service+"/api/medalTemplate/delete",
    learning_medalTemplate_getById:_PROXY.learning_service+"/api/medalTemplate/getById",

    learning_studentClassBind_list:_PROXY.learning_service+"/api/studentClassBind/list",
    learning_studentClassBind_add:_PROXY.learning_service+"/api/studentClassBind/add",
    learning_studentClassBind_update:_PROXY.learning_service+"/api/studentClassBind/update",
    learning_studentClassBind_delete:_PROXY.learning_service+"/api/studentClassBind/delete",
    learning_studentClassBind_check:_PROXY.learning_service+"/api/studentClassBind/check",

    userCenter_parentStudentEnter_list:_PROXY.user_center_service+"/api/parentStudentEnter/list",
    userCenter_parentStudentEnter_add:_PROXY.user_center_service+"/api/parentStudentEnter/add",
    userCenter_parentStudentEnter_update:_PROXY.user_center_service+"/api/parentStudentEnter/update",
    userCenter_parentStudentEnter_delete:_PROXY.user_center_service+"/api/parentStudentEnter/delete",
    userCenter_parentStudentEnter_getById:_PROXY.user_center_service+"/api/parentStudentEnter/getById",

    weChat_courseSeKill_list:_PROXY.wechat_service+"/api/courseSeKill/list",
    weChat_courseSeKill_add:_PROXY.wechat_service+"/api/courseSeKill/add",
    weChat_courseSeKill_update:_PROXY.wechat_service+"/api/courseSeKill/update",
    weChat_courseSeKill_delete:_PROXY.wechat_service+"/api/courseSeKill/delete",
    weChat_courseSeKill_getById:_PROXY.wechat_service+"/api/courseSeKill/getById",

};

_PERMISSIONS=sessionStorageUtils.getJson(storageKey.sessionStorageKey.permCodes)//设置权限
